﻿<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title _ @SettingsManager.Site.SiteName</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    @Styles.Render("~/Areas/Admin/Content/css/SigStyle")    
  
    @Scripts.Render("~/bundles/modernizr")
    @RenderSection("Header", required: false)
   
    <!--[if lt IE 9]>
        <script src="~/Content/Admin/js/lib/respond.min.js"></script>
     <![endif]-->


</head>
<body>

    <!-- navbar start -->
    <nav class="navbar navbar-inverse navbar-static-top" role="navigation">
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">SIGCMS</a>
            </div>


            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li class="active"><a href="@Url.Action("Index","Home")">全局 <span class="sr-only">(current)</span></a></li>

                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">内容 <span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">

                            <li>
                                <a href="@Url.Action("Index", "Product")">
                                    <span class="glyphicon glyphicon-th"></span>
                                    产品
                                </a>
                            </li>
                            <li>
                                <a href="@Url.Action("Index", "Category", new { modelType = "Product" })">
                                    <span class="glyphicon glyphicon-th-large"></span>
                                    分类
                                </a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="@Url.Action("Index", "Article")">
                                    <span class="glyphicon glyphicon-file"></span>
                                    新闻资讯
                                </a>
                            </li>
                            <li>
                                <a href="@Url.Action("Index", "Category", new { modelType = "News" })">
                                    <span class="glyphicon glyphicon-th-large"></span>
                                    分类
                                </a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="@Url.Action("Index", "Pages", new { modelType = "News" })">
                                    <span class="glyphicon glyphicon-new-window"></span>
                                    页面
                                </a>
                                <a href="@Url.Action("Create", "Pages", new { modelType = "News" })">
                                    <span class="glyphicon glyphicon-plus"></span>
                                    创建新页面
                                </a>
                            </li>
                        </ul>
                    </li>



                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">组件 <span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li>
                                <a href="@Url.Action("Index", "Carousel")">
                                    <span class="glyphicon glyphicon-picture"></span>
                                    Banner/轮播图
                                </a>
                            </li>
                            @*<li>
                            <a href="@Url.Action("Index", "Link")">
                                <span class="glyphicon glyphicon-link"></span>
                                友情链接
                            </a>
                        </li>*@
                            <li>
                                <a href="@Url.Action("Index", "Menu")">
                                    <span class="glyphicon glyphicon-menu-hamburger"></span>
                                    菜单管理
                                </a>
                            </li>
                            <li>
                                <a href="@Url.Action("Index", "FileManager")">
                                    <span class="@SettingsManager.File.IconClass"></span>
                                    @SettingsManager.File.ModuleName
                                </a>
                            </li>
                            @*<li class="divider"></li>
                        <li><a href="#">Separated link</a></li>
                        <li class="divider"></li>
                        <li><a href="#">One more separated link</a></li>*@
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">基本资料 <span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li>
                                <a href="@Url.Action("SiteInfo", "Info")">
                                    <i class="glyphicon glyphicon-info-sign"></i>
                                    <span>基本信息</span>
                                </a>
                            </li>
                            <li>
                                <a href="@Url.Action("Index", "Info")">
                                    <i class="glyphicon glyphicon-home"></i>
                                    <span>公司资料</span>
                                </a>
                            </li>
                            <li>
                                <a href="@Url.Action("Social", "Info")">
                                    <i class="glyphicon glyphicon-comment"></i>
                                    <span>社交资料</span>
                                </a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="@Url.Action("EmailSet", "Info")">
                                    <i class="glyphicon glyphicon-envelope"></i>
                                    <span>邮箱服务设置</span>
                                </a>
                            </li>
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">安全 <span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li>
                                <a href="@Url.Action("Index", "User")">
                                    <span class="glyphicon glyphicon-user"></span>
                                    <span>帐号管理</span>
                                </a>
                            </li>
                            <li>
                                <a href="@Url.Action("Index", "Role")">
                                    <span class="glyphicon glyphicon glyphicon-king"></span>
                                    <span>权限</span>
                                </a>
                            </li>

                            <li class="divider"></li>
                            <li>
                                <a href="@Url.Action("Index", "Logs")">
                                    <span class="glyphicon glyphicon-modal-window"></span>
                                    <span>系统日志</span>
                                </a>
                            </li>
                        </ul>
                    </li>

                </ul>



                <ul class="nav navbar-nav navbar-right">
                    <li><a href="/" title="返回首页"><i class="fa fa-home"></i> 返回首页</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">你好，@User.Identity.Name <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="@Url.Action("Create", "Diaries")">添加日志</a></li>
                            <li><a href="@Url.Action("ChangePassword", "User")">修改密码</a></li>
                        </ul>
                    </li>
                    <li><a href="javascript:document.getElementById('logoutForm').submit()"><i class="fa fa-sign-out"></i> 退出系统</a></li>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div>
       
    </nav>
    <!-- navbar end -->
    @using (Html.BeginForm("LogOut", "Account", new { area=""}, FormMethod.Post, new { id = "logoutForm" }))
    {
        @Html.AntiForgeryToken()

    }

    
    <div id="wrapper" class="container wrapper">     
        <div class="row">
            <div class="col-sm-2">
                @RenderSection("leftNav", required: false)                
            </div>
            <div class="col-sm-10">
                @RenderBody()                
            </div>
        </div>
              
              
    </div>
    <footer id="pagefooter" class="page-footer">
        Copyright &copy; 2012 <a id="hlSiteInfo" href="@SettingsManager.Site.DeveloperDomainName">@SettingsManager.Site.Developer</a> All Rights  Reserved
        Powered by @SettingsManager.Site.Version &copy; 2015
    </footer>
           
 
    @Scripts.Render("~/bundles/jquery") 
    @Scripts.Render("~/bundles/Admin") 



    @RenderSection("Footer", required: false)
</body>
</html>
